package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "h_supervision_config")
public class SupervisionConfig implements Serializable {
    private static final long serialVersionUID = 5925926783677036851L;

    @Id
    @Column(name = "id_bigint", columnDefinition = "bigint(20)")
    private Long id;
    @Column(name = "url_nvarchar", columnDefinition = "varchar(255)")
    private String url;
    @Column(name = "key_nvarchar", columnDefinition = "varchar(255)")
    private String key;
    @Column(name = "secret_nvarchar", columnDefinition = "varchar(255)")
    private String secret;
    @Column(name = "code_nvarchar", columnDefinition = "varchar(255)")
    private String code;
    @Column(name = "head_nvarchar", columnDefinition = "varchar(1000)")
    private String head;
}
